﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="Edit.ascx.vb" Inherits="Control_Action_Edit" %>
<script type="text/javascript">
    function ajaxJquery() {
        $(function () {
            $(".TextBox:first").focus();
        });
    }
</script>
<asp:UpdatePanel ID="uplAction" runat="server">
    <ContentTemplate>
        <div class="content_porletform">
            <div class="HeadTitle">
                <h3>
                    <asp:Label ID="Label3" runat="server" Text="CẬP NHẬT THAO TÁC" /></h3>
            </div>
            <div class="DivRequired">
                <span class="fieldRequired">&nbsp;</span>Trường yêu cầu nhập dữ liệu
            </div>
            <div class="Error">
                <asp:ValidationSummary ID="ValidationSummary1" runat="server" ForeColor="#FF3300" />
            </div>
            <div class="DivRow">
                <div class="DivLabel">
                    <asp:Label ID="lblTitle" CssClass="TextLabel" runat="server" Text="Tiêu đề:" />
                    <span class="fieldRequired">&nbsp;</span>
                </div>
                <div class="DivTextBox">
                    <asp:TextBox ID="txtTitle" CssClass="TextBox" runat="server" Text="" />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtTitle"
                        Display="None" ErrorMessage="Tiêu đề là bắt buộc"></asp:RequiredFieldValidator>
                </div>
            </div>
            <div class="DivRow">
                <div class="DivLabel">
                    <asp:Label ID="lblFunctionid" CssClass="TextLabel" runat="server" Text="Chức năng:" />
                    <span class="fieldRequired">&nbsp;</span>
                </div>
                <div class="DivTextBox">
                    <asp:DropDownList ID="ddlFunction" runat="server" CssClass="TextBox">
                    </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="ddlFunction"
                        Display="None" ErrorMessage="Chức năng là bắt buộc" InitialValue="0"></asp:RequiredFieldValidator>
                </div>
            </div>
            <div class="DivRow">
                <div class="DivLabel">
                    &nbsp;&nbsp;&nbsp;</div>
                <div class="DivTextBox">
                    <div style="float: left">
                        <asp:Button ID="btnSave" runat="server" Text=" Lưu " CssClass="btn" />
                        &nbsp;<asp:Button ID="btnReset" runat="server" CausesValidation="false" CssClass="btn"
                            Text="Hủy" /></div>
                    <div style="float: right; text-align: right">
                    </div>
                </div>
            </div>
            <div style="clear: both; height: 5px">
            </div>
            <div style="display: none">
                <asp:HiddenField ID="hidID" Value="0" runat="server" />
            </div>
        </div>
    </ContentTemplate>
</asp:UpdatePanel>
